$(".change_Password1,.change_Password2").click(function () {
    $("#schedule").show();
    $("#content_1").show();
})

$(".next_button").click(function () {
    $("#verify").show();
})

$("#submit_2").click(function () {
    $("#content_2").hide();
    $("#content_3").show();
    $("#step3 .left,#step3 .right,#step3 .number").addClass("bg_blue");
    $("li#step3 .text").addClass("text_blue");
})

$(".add").click(function () {
    layer.open({
        type: 1,
        title: ['增加地址', 'font-size:14px;color:#000;'],
        closeBtn: 1,
        area: ['704px', '496px'],
        shadeClose: true,
        skin: 'yourclass',
        content: $('#verify')
    });
})
$('.get_code').on('click', function () {
    var that = $(this)
    var timeo = 60;
    var timeStop = setInterval(function () {
        timeo--;
        if (timeo > 0) {
            that.text('重新获取(' + timeo + 's)');
            that.attr('disabled', 'disabled');//禁止点击
        } else {
            timeo = 60;//当减到0时赋值为60
            that.text('获取验证码');
            clearInterval(timeStop);//清除定时器
            that.removeAttr('disabled');//移除属性，可点击
        }
    }, 1000)
})

$('#mpanel4').slideVerify({
    type: 2,		//类型
    vOffset: 5,	//误差量，根据需求自行调整
    vSpace: 5,	//间隔
    imgName: ['1.jpg', '2.jpg'],
    imgSize: {
        width: '400px',
        height: '200px',
    },
    blockSize: {
        width: '40px',
        height: '40px',
    },
    barSize: {
        width: '400px',
        height: '40px',
    },
    ready: function () {
    },
    success: function () {
        $("#verify").css("display", "none");
        $("#content_1").hide();
        $("#content_2").show();
        $("#step2 .left,#step2 .right,#step2 .number").addClass("bg_blue");
        $("li#step2 .text").addClass("text_blue");
    },
    error: function () {
    }

});
$(".Recharge").click(function () {
    layer.open({
        type: 1,
        title: ['充值', 'font-size:16px;color:#000;'],
        closeBtn: 1,
        area: ['427px', '289px'],
        shadeClose: true,
        skin: 'yourclass',
        content: $('#verify2')
    });
})
$('#iframe').on('load', function () {
    var iframe = $('#iframe').contents();
    iframe.find('#Billing_Information').click(function () {
        $(".breadcrumb-one").show().siblings().hide();
    });
    iframe.find('#Electronic_invoice').click(function () {
        $(".breadcrumb-two").show().siblings().hide();
    });
});